/* 头部 */
.header {
  position: sticky;
  left: 0;
  top: 0;
  background-color: transparent;
  width:100%;
  z-index:1000;
  padding-top: 1em;

  // .navbar {
  //   position: absolute;
  //   width: 100%;
  // }

  .navbar-inverse{
    background-color: transparent;
    border-color:transparent;

    .navbar-nav>li>a{
      color:#fff;
    }
  }

  .logo {
    text-transform: uppercase;
    color: #fff;
    transition: all .1s linear;

    &:hover {
      transform: scale(1.2);
    }
  }

  
  .menu{

   a {
    text-transform: uppercase;
    border-bottom: 3px solid transparent;
    font-size: 1em;
    
      span {
        display: inline-block;
        transition: all .1s linear;
        font-size: 1em;
      }

      &:hover {
        border-bottom: 3px solid #fcac45;

        span {
          transform: scale(1.2);
        }
      }
    }
  }

  /* 响应式兼容 */
  // 当前屏幕大小 <= 768px
  @media screen and (max-width:768px){
    .menu{
      a {
        text-align: center;
      }
    }
  }
}

/* 公共标题 */
.common_title {
  width: 100%;
  margin-top: 10em;

  h1 {
    text-align: center;
    font-size: 3em;
    font-family: "OSLight";
    margin-bottom: .3em;
  
    span {
      font-weight: 700;
    }
  }

  p:nth-of-type(1) {
    width: 7em;
    height: .2em;
    background-color: #fcac45;
    margin: auto;
    margin-bottom: .5em;
  }

  p:nth-of-type(2) {
    width: 5em;
    height: .2em;
    background-color: #fcad455b;
    margin: auto;
  }

  @media screen and (max-width: 350px) {
    h1 {
      font-size: 2.5em;
    }
  }
}

/* 页尾 */
.footer {
  width: 100%;
  height: 130px;
  background-color: #222;
  line-height: 130px;

  .footer_date {
    color: #ccc;
    font-family: "OSLight";

    span {
      font-family: "OSBold";
    }
  }

  .footer_icon {
    text-align: right;
    a {
      margin: 0 5px;
    }
  }
}
@media screen and (max-width:768px){
  .footer {
    height: 100px;
    
    .footer_date {
      text-align: center;
      font-size: .5em;
      line-height: 50px;
      padding: 0;
    }

    .footer_icon {
      text-align: center;
      line-height: 50px;
    }
  }
}

/* 回到顶部 */
#back {
  position: fixed;
  bottom: 30px;
  width: 100px;
  height: 100px;
}

.back {
  animation: rubberBand 1s;
}

@keyframes rubberBand{
  0%{-webkit-transform:scale(1);-ms-transform:scale(1);transform:scale(1)}
  30%{-webkit-transform:scaleX(1.25) scaleY(0.75);-ms-transform:scaleX(1.25) scaleY(0.75);transform:scaleX(1.25) scaleY(0.75)}
  40%{-webkit-transform:scaleX(0.75) scaleY(1.25);-ms-transform:scaleX(0.75) scaleY(1.25);transform:scaleX(0.75) scaleY(1.25)}
  60%{-webkit-transform:scaleX(1.15) scaleY(0.85);-ms-transform:scaleX(1.15) scaleY(0.85);transform:scaleX(1.15) scaleY(0.85)}
  100%{-webkit-transform:scale(1);-ms-transform:scale(1);transform:scale(1)}
}

@media screen and (max-width:768px) {
  #back {
    width: 50px;
    height: 50px;
  }
}

